/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package SAToDA;

import java.util.ArrayList;
/**
 *
 * @author LeonardoGabriel
 */
public class GrupoEquivalencia {
    int id;
    ArrayList<Disciplina> grupo;
    
    public GrupoEquivalencia(int id) {
        this.id = id;
        grupo = new ArrayList();
    }
    
    @Override
    public boolean equals(Object obj) {
        if (obj == null || getClass() != obj.getClass()) {
            return false;
        }        
        if (this.id != ((GrupoEquivalencia) obj).id) {
            return false;
        }        
        return true;
    }
    
}
